package com.opal.system.mapper.mysql;

import com.opal.system.entity.table.OpalMenu;
import com.opal.system.entity.table.OpalMenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpalMenuMapper {
    int countByExample(OpalMenuExample example);

    int deleteByExample(OpalMenuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OpalMenu record);

    int insertSelective(OpalMenu record);

    List<OpalMenu> selectByExample(OpalMenuExample example);

    OpalMenu selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OpalMenu record, @Param("example") OpalMenuExample example);

    int updateByExample(@Param("record") OpalMenu record, @Param("example") OpalMenuExample example);

    int updateByPrimaryKeySelective(OpalMenu record);

    int updateByPrimaryKey(OpalMenu record);
}